package hu.vpszd.entities.customer

import javax.persistence.Column
import javax.persistence.Embeddable
import javax.validation.constraints.NotNull

@Embeddable
class IDCard {
		
	@NotNull
	@Column(unique = true)
	String ICidentityNumber
	
	@NotNull
	Date ICvalidFrom
	
	@NotNull
	Date ICexpirationDate
	
	@NotNull
	String ICissuingAuthority	
}
